def isIn(target, list):
    if len(list) == 0:
        return False
    else:
        index = 0
        while index < len(list):
            if target == list[index]:
                return True
            index = index + 1
    return False


if __name__ == '__main__':
    list = [1, 56, 2, 1.63, -2, "frog"]
    print(isIn('frog', list=list))
    print(isIn('fridge', list=list))
    print(isIn(-90, list=list))
